package ltd.newbee.mall.enums;

import lombok.Getter;

/**
 * @ClassName: ProductStatusEnum
 * @Description: 商品上下架状态枚举类
 * @Author: Emily
 * @Date: 2021/9/2 17:16
 * @Version 1.0
 */
@Getter
public enum ProductStatusEnum
{
    UP(0, "上架"),
    DOWN(1, "下架");
    // 注意格式

    private final Integer code;

    private final String message;

    ProductStatusEnum(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }


}